/*! ABI of the Social Media Exampl Application */

use async_graphql::{Request, Response};
use linera_sdk::abi::{ContractAbi, ServiceAbi};

mod op_msg;
pub use op_msg::*;

mod post;
pub use post::*;

pub struct SocialAbi;

impl ContractAbi for SocialAbi {
    type Operation = Operation;
    type Response = ();
}

impl ServiceAbi for SocialAbi {
    type Query = Request;
    type QueryResponse = Response;
}
